'use strict';

/* Directives */


angular.module('myApp.directives', []).
  directive('rssRow', function() {

        var linker = function(scope, element, attrs) {
            element.on('click', function() {
               $(this).parent().find('.rsscontent').slideToggle(250);
               $(this).find('.rsstitle').removeClass("rsstitle");
            });
        };
        return {
            restrict: 'A',
            link:linker
        }
  });

